import requests


class IhrmLoginApi(object):
    @classmethod
    def login(cls, req_data):
        resp = requests.post(url="http://ihrm-java.itheima.net/api/sys/login",
                             json=req_data)
        return resp
